package com.yxym.interface_;

public class InterfaceDetail3 {
    public static void main(String[] args) {
        System.out.println(IB.i);//i为static
        //IB.i = 20;i是final
    }
}

interface IB{
    //
    int i = 10;//=> public static final int n1 = 10;
    void hi();
}
interface IC{
    void say();
}
//一个
class Cat implements IB,IC{

    @Override
    public void hi() {

    }

    @Override
    public void say() {

    }
}
